package com.itheima.api.calendar.demo02;

import java.util.Calendar;
import java.util.concurrent.ConcurrentSkipListMap;

public class CalendarDemo01 {

    public static void main(String[] args) {

        Calendar calendar = Calendar.getInstance();

        System.out.println("年：" + calendar.get(Calendar.YEAR));

        System.out.println("月：" + calendar.get(Calendar.MONTH));

        System.out.println("一个月中的第：" + calendar.get(Calendar.DAY_OF_MONTH) + "天");

        System.out.println("一周中的第：" + calendar.get(Calendar.DAY_OF_WEEK) + "天");

        System.out.println("----------------------------------------------------------------");

        Calendar calendar1 = Calendar.getInstance();



    }

}
